//#define __DEBUG__
// by Xeno
#define THIS_FILE "x_m120.sqf"
#include "x_setup.sqf"
private "_poss";

_mpos = markerPos QGVAR(sm_120);
_mpos set [2,0];
_mpos2 = markerPos QGVAR(sm_120_1);
_mpos2 set [2,0];
GVAR(x_sm_pos) = [_mpos, _mpos2]; // index: 20,   Convoy The Spartan to Agia Marina, start and end position
GVAR(x_sm_type) = "convoy"; // "convoy"

#ifdef __SMMISSIONS_MARKER__
if (true) exitWith {};
#endif

if (X_Client && {!GVAR(IS_HC_CLIENT)}) then {
	GVAR(cur_sm_txt) = (localize "STR_DOM_SIDESTRING_1201");
	GVAR(current_mission_resolved_text) = (localize "STR_DOM_SIDESTRING_1202");
};

if (call FUNC(checkSHC)) then {
	__PossAndOther
	[_poss, _pos_other, markerDir QGVAR(sm_120)] spawn FUNC(sideconvoy);
};
